package cn.tianyigps.tianyigpsgatherchecker.service;

import cn.tianyigps.tianyigpsgatherchecker.bean.AlarmModel;
import cn.tianyigps.tianyigpsgatherchecker.dao.AlarmDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlarmService {
    @Autowired
    AlarmDao alarmDao;

    public void insert(AlarmModel alarmModel)
    {
        alarmDao.insert(alarmModel);
    }

    public void save(AlarmModel alarmModel)
    {
        alarmDao.save(alarmModel);
    }

}
